-- GENERATED SPELL FOR [Emerald Skytalon] --


function spell0_27244(pUnit, Event) --@Talon Strike,n/a--
pUnit:FullCastSpellOnTarget(32909,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27244', 608, 1)
end

function Sorts_27244(pUnit, Event)
local choix_sorts_27244 = math.random(0, 0)
if choix_sorts_27244 == 0 then
pUnit:RegisterEvent('spell0_27244', 1, 1)
end
end

function mob27244_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27244', math.random(1500, 3000), 1)
end

function mob27244_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27244_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27244_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27244, 1, 'mob27244_Action')
RegisterUnitEvent(27244, 2, 'mob27244_Leave')
RegisterUnitEvent(27244, 3, 'mob27244_Kill')
RegisterUnitEvent(27244, 4, 'mob27244_Die')
